<!doctype html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?= $page_title ?? ''; ?> - 科幻派</title>
    <!-- <link rel="stylesheet" href="https://at.alicdn.com/t/c/font_2791172_wuno79m7pvk.css"> -->
    <link rel="stylesheet" href="/font/iconfont.css">
    <link rel="stylesheet" href="/css/mini.css">
    <?= $custom_css ?? ''; ?>
</head>
<body>
    <div class="app d-flex">
        <?= mini\Template::partial('partials/_header', $data) ?>
        <main id="main" role="main">
            <div class="main-inner d-flex justify-content-between">
                <div class="main-middle">
                    <?= mini\Template::display($data) ?>
                </div>
                <!-- <aside id="aside">
                </aside> -->
            </div>
        </main>
    </div>
    <script src="/js/bootstrap.bundle.min.js"></script>
    <script src="/js/editor.min.js"></script>
    <script src="/js/mini.js"></script>
    <?= isset($custom_js) ? assets_js($custom_js) : ''; ?>
    <?= $footer_block ?? '' ?>
    <script>
        var _hmt = _hmt || [];
        (function() {
          var hm = document.createElement("script");
          hm.src = "https://hm.baidu.com/hm.js?5ed9f9560ac5590e3253936b0bc41deb";
          var s = document.getElementsByTagName("script")[0]; 
          s.parentNode.insertBefore(hm, s);
        })();
    </script>
</body>
</html>